//
//  UIImage+GSGif.h
//  wordGif
//
//  Created by Seven on 2016/11/9.
//  Copyright © 2016年 Seven. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (GSGif)

+ (UIImage *)gs_animatedGIFNamed:(NSString *)name;

+ (UIImage *)gs_animatedGIFWithData:(NSData *)data;

+ (UIImage *)gs_animatedGIFNamed:(NSString *)name size:(CGSize)size;

+ (UIImage *)gs_animatedGIFWithData:(NSData *)data size:(CGSize)size;

- (UIImage *)gs_animatedImageByScalingAndCroppingToSize:(CGSize)size;


- (CGSize)CGImageSize;

@end
